﻿namespace SBlogCore.TaskJob.Models
{
    public class OpenJob
    {
        public OpenJob()
        {
            JobCall = string.Empty;
            JobCallParams = string.Empty;
            Cron = string.Empty;
            JobName = string.Empty;
            Id = string.Empty;
        }   

        public string Id { get; set; }
        /// <summary>
        /// 任务名称
        /// </summary>
        public string JobName { get; set; }
        /// <summary>
        /// 任务地址
        /// </summary>
        public string JobCall { get; set; }
        /// <summary>
        /// 任务参数，JSON格式
        /// </summary>
        public string JobCallParams { get; set; }
        /// <summary>
        /// CRON表达式
        /// </summary>
        public string Cron { get; set; }
    }
}
